import Router from "@/router/Router";
import { Suspense } from "react";
import { Provider } from "react-redux";
import { store } from "@/redux/store";

function App() {
  return (
    <div>
      <Provider store={store}>
        <Suspense fallback={<div>loading...</div>}>
          <Router />
        </Suspense>
      </Provider>
    </div>
  );
}

export default App;
